package com.xxp.service.impl;

import com.xxp.entity.NewFz;
import com.xxp.mapper.NewFuzhouMapper;
import com.xxp.service.NewFuzhouService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NewFuzhouServiceImpl  implements NewFuzhouService {

    @Autowired
    private NewFuzhouMapper newFuzhouMapper;
    @Override
    public List<NewFz> selectAll() {
        return newFuzhouMapper.SelectAll();
    }

    @Override
    public NewFz selectById(Integer id) {
       return newFuzhouMapper.selectById(id);
    }
}
